package Chapter04;

public class Zuoye11 {
    //11.从1开始，输出能被9整除的数，每20个一行，最多到10000结束
    public static void main(String[] args) {
        int count=0;//计数器
        for (int i=1;i<=10000;i++){
             if (i%9==0){
                 System.out.print(i+"\t");
                 count++;
                 if (count%20==0){
                     System.out.println("");
                 }
             }
        }
    }
}
